<%--@elvariable id="msg" type="com.xxxx.controller.LoginServlet"--%>
<%--
  Created by IntelliJ IDEA.
  User: 王希辰
  Date: 2021/10/3
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8"%>
<html>

<head>
    <title>登录</title>
</head>
<body>
<form action="loginServlet" method="post">
    姓名：<input type="text" name="uname"><br>
    密码：<input type="password" name="upwd"><br>
    <button>登录</button>
    <%--<span style="color: red;font-size: 12px"><%=request.getAttribute("msg")%></span>--%>
    <span style="color: red;font-size: 12px">${msg}</span>
</form>
</body>
</html>
